package com.itheima.health.dao;

import com.github.pagehelper.Page;
import com.itheima.health.pojo.Setmeal;
import org.apache.ibatis.annotations.Param;

/**
 * @Author ZhangXiXi
 * @Description TODO
 * @date 2021/1/12 17:26
 * @Version 1.0
 */
public interface SetmealDao {

    void insert(Setmeal setmeal);

    void insertSetmealAndCheckGroup(@Param("setmealId") Integer setmealId, @Param("checkGroupId") Integer checkGroupId);

    Page<Setmeal> selectByCondition(@Param("queryString") String queryString);

    long countByImg(@Param("img") String img);
}
